package com.longshihan.testdagger;

import javax.inject.Singleton;

import dagger.Module;
import dagger.Provides;
import okhttp3.OkHttpClient;

/**
 * Created by longshihan on 2017/7/2.
 */
@Module
public class AppModule {
    @Provides
    @Singleton
    OkHttpClient provideOKHttp(){
        return new OkHttpClient().newBuilder().build();
    }
}
